Platform Explorer / Nuxeo Platform LTS 2016 8.10

Component org.nuxeo.ecm.platform.rendition.actions

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.rendition.actions">

  <extension target="org.nuxeo.ecm.platform.actions.ActionService"
    point="actions">

    <action id="documentExport" order="80" label="label.exportview" type="fancybox"
      icon="/icons/export.png">
      <category>DOCUMENT_UPPER_ACTION</category>
      <properties>
        <property name="include">/incl/renditions_box.xhtml</property>
        <property name="autoDimensions">false</property>
        <property name="width">40%</property>
        <property name="height">40%</property>
        <property name="scrolling">auto</property>
        <property name="ajaxSupport">true</property>
        <property name="excludedKinds">nuxeo:video:conversion,nuxeo:picture:conversion</property>
      </properties>
      <filter-id>hasVisibleRenditions</filter-id>
    </action>

    <action id="StoredRenditions" link="/incl/search_renditions.xhtml" label="admcommand.searchrenditions"
      type="admin_rest_document_link" order="50">
      <category>NUXEO_ADMIN</category>
      <filter-id>only_for_manager</filter-id>
    </action>

  </extension>

  <extension target="org.nuxeo.ecm.platform.actions.ActionService"
    point="filters">

    <filter id="hasVisibleRenditions">
      <rule grant="true">
        <condition>#{renditionAction.hasVisibleRenditions('nuxeo:video:conversion,nuxeo:picture:conversion')}</condition>
      </rule>
    </filter>

  </extension>

</component>